package com.aaa.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (ViewTestResultFpa)实体类
 *
 * @author
 * @since 2022-07-08 10:00:04
 */
public class ViewTestResultFpa implements Serializable {
    private static final long serialVersionUID = 385138449852054289L;
    /**
     * 测试人员id
     */
    private Integer testerId;

    private Double redCount;

    private Double blueCount;

    private Double yellowCount;

    private Double greenCount;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 测试者姓名
     */
    private String name;
    /**
     * 测试时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    //从页面传值到controller的时候，自动解析字符串日期到date
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /*
    * 测试计划id
    * */
    private Integer testPlanId;

    public Integer getTestPlanId() {
        return testPlanId;
    }

    public void setTestPlanId(Integer testPlanId) {
        this.testPlanId = testPlanId;
    }
    public Integer getTesterId() {
        return testerId;
    }

    public void setTesterId(Integer testerId) {
        this.testerId = testerId;
    }

    public Double getRedCount() {
        return redCount;
    }

    public void setRedCount(Double redCount) {
        this.redCount = redCount;
    }

    public Double getBlueCount() {
        return blueCount;
    }

    public void setBlueCount(Double blueCount) {
        this.blueCount = blueCount;
    }

    public Double getYellowCount() {
        return yellowCount;
    }

    public void setYellowCount(Double yellowCount) {
        this.yellowCount = yellowCount;
    }

    public Double getGreenCount() {
        return greenCount;
    }

    public void setGreenCount(Double greenCount) {
        this.greenCount = greenCount;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ViewTestResultFpa{" +
                "testerId=" + testerId +
                ", redCount=" + redCount +
                ", blueCount=" + blueCount +
                ", yellowCount=" + yellowCount +
                ", greenCount=" + greenCount +
                ", phone='" + phone + '\'' +
                ", name='" + name + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}

